package com.adt.studioms.om;

import com.asao.baseware.core.om.Entity;

public class ServiceSnapshot extends Entity {
    Service service;
    long price;

    public ServiceSnapshot() {
    }

    public ServiceSnapshot(Service service) {
        this.service = service;
        price = service.getPrice();
    }

    public Service getService() {
        return service;
    }

    public void setService(Service service) {
        this.service = service;
    }

    public long getPrice() {
        return price;
    }

    public void setPrice(long price) {
        this.price = price;
    }
}
